Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set a maximum number of accepted deadline miss the the AdvanceableRunner #726

Merged
merged 4 commits into from
Sep 25, 2023

Conversation

GiulioRomualdi
Copy link
Member

@GiulioRomualdi GiulioRomualdi commented Sep 22, 2023

As per the title, this PR adds the possibility to stop the advanceable runner if the number of deadline misses exceeds the accepted maximum

@GiulioRomualdi
Copy link
Member Author


// we have to close the runner
this->m_isRunning = false;
break;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is done only when telemetry is enabled, is this intentional? Or perhaps know that deadlineMiss is used for something else we should change the logic?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is done only when telemetry is enabled, is this intentional

Before I used it just to print some info at the end of the application but probably now it's better to keep this always active. What do you think?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In 5b6d71c I removed the possibility to disable the telemetry so the check will be always active

@traversaro
Copy link
Collaborator

A test is failing

https://github.com/ami-iit/bipedal-locomotion-framework/actions/runs/6273110343/job/17035936038?pr=726#step:24:171

Maybe due to #724 ? 🤔 @traversaro

Yes, it seems it was failing also there #724 .

@traversaro
Copy link
Collaborator

A test is failing
https://github.com/ami-iit/bipedal-locomotion-framework/actions/runs/6273110343/job/17035936038?pr=726#step:24:171
Maybe due to #724 ? 🤔 @traversaro

Yes, it seems it was failing also there #724 .

Fixed by #727 .

@GiulioRomualdi GiulioRomualdi merged commit 0a3afff into master Sep 25, 2023
14 of 15 checks passed
@GiulioRomualdi GiulioRomualdi deleted the advanceable_runner_deadline_miss branch September 25, 2023 09:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants